'''
微信小程序：华硕商城
功能：签到、抽奖
抓Authenticate
青龙变量名  export hssc="Authenticate"  多号换行
'''




import base64

exec(base64.b64decode('aW1wb3J0IHJlcXVlc3RzICx0aW1lICxqc29uICxvcyAsbm90aWZ5ICxyYW5kb20gI2xpbmU6NwppbXBvcnQgaGFzaGxpYiAjbGluZTo4CmRlZiBPTzAwMDBPMDBPTzAwT09PTyAoTzAwMDAwTzAwMDBPTzBPT08gKTojbGluZTo5CiAgICBPTzAwTzBPME9PMDAwT09PMCA9aGFzaGxpYiAubWQ1ICgpI2xpbmU6MTAKICAgIE9PMDBPME8wT08wMDBPT08wIC51cGRhdGUgKE8wMDAwME8wMDAwT08wT09PIC5lbmNvZGUgKCd1dGYtOCcpKSNsaW5lOjExCiAgICByZXR1cm4gT08wME8wTzBPTzAwME9PTzAgLmhleGRpZ2VzdCAoKSNsaW5lOjEyCk8wT08wME9PME9PME9PTzBPID0nQXN1cyFAIyQlXiYqKClTdG9yZScjbGluZToxMwpPMDAwMDBPT08wMDBPME8wTyA9aW50ICh0aW1lIC50aW1lICgpKSNsaW5lOjE0Ck9PME9PTzAwME8wME8wT09PID0iTW96aWxsYS81LjAgKExpbnV4OyBBbmRyb2lkIDEwOyBNSSA4IEJ1aWxkL1FLUTEuMTkwODI4LjAwMjsgd3YpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIFZlcnNpb24vNC4wIENocm9tZS84My4wLjQxMDMuMTAxIE1vYmlsZSBTYWZhcmkvNTM3LjM2O3hzYl93YW5nY2hhbzt4c2Jfd2FuZ2NoYW87Ni4wLjI7bmF0aXZlX2FwcDs2LjEwLjAiI2xpbmU6MTUKZGVmIE9PTzAwMDAwTzBPTzBPTzAwIChPMDAwME8wME8wT09PMDAwTyAsTzAwT09PME8wME9PT08wT08gKTojbGluZToxNgogICAgT09PMDAwMDAwTzAwMDBPME8gPXsndGlja2V0JzonWkdNZFpUYXdjJywnYWN0aXZpdHlfdHlwZS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lcnMgPU9PME8wT08wT08wT09PT09PICkuanNvbiAoKSNsaW5lOjM3CiAgICAgICAgaWYgT09PTzBPTzAwME9PT09PMDAgWydjb2RlJ109PTIwMCA6I2xpbmU6MzgKICAgICAgICAgICAgT08wMDBPT08wME9PME8wTzAgPU9PT08wT08wMDBPT09PTzAwIFsnZGF0YSddWydwcml6ZSddI2xpbmU6MzkKICAgICAgICAgICAgcHJpbnQgKGYn5oq95Lite09PMDAwT09PMDBPTzBPME8wfScpI2xpbmU6NDAKICAgICAgICBlbHNlIDojbGluZTo0MQogICAgICAgICAgICBwcmludCAoT09PTzBPTzAwME9PT09PMDAgWydtc2cnXSkjbGluZTo0MgogICAgICAgIE9PT08wT08wMDBPT09PTzAwID1yZXF1ZXN0cyAucG9zdCAoImh0dHBzOi8vc3RvcmUuYXN1cy5jb20uY24vc3RvcmVhcGkvdXNlci9teS9pbmRleCIsZGF0YSA9T09PMDAwMDAwTzAwMDBPME8gLGhlYWRlcnMgPU9PME8wT08wT08wT09PT09PICkuanNvbiAoKSNsaW5lOjQzCiAgICAgICAgTzAwMDBPME9PMDAwTzAwME8gPU9PT08wT08wMDBPT09PTzAwIFsnZGF0YSddWyd1c2VyJ11bJ21vYmlsZSddI2xpbmU6NDQKICAgICAgICBPMDBPTzAwME9PMDBPMDBPMCA9T09PTzBPTzAwME9PT09PMDAgWydkYXRhJ11bJ3VzZXInXVsndG90YWxfcG9pbnRzJ10jbGluZTo0NQogICAgICAgIHByaW50IChmJ+ivpeeUqOaIt++8mntPMDAwME8wT08wMDBPMDAwT30gXG7mi6XmnInnp6/liIbvvJp7TzAwT08wMDBPTzAwTzAwTzB9JykjbGluZTo0NgogICAgZWxpZiBPT09PME9PMDAwT09PT08wMCBbJ2NvZGUnXT09MCA6I2xpbmU6NDcKICAgICAgICBwcmludCAoZifku4rml6Xlt7Lnrb7liLDvvIzor7fli7/ph43lpI3nrb7liLDvvIEnKSNsaW5lOjQ4CiAgICAgICAgT09PTzBPTzAwME9PT09PMDAgPXJlcXVlc3RzIC5wb3N0ICgiaHR0cHM6Ly9zdG9yZS5hc3VzLmNvbS5jbi9zdG9yZWFwaS91c2VyL2FjdGl2aXR5L3JvbGwiLGRhdGEgPU9PTzAwMDAwME8wMDAwTzBPICxoZWFkZXJzID1PTzBPME9PME9PME9PT09PTyApLmpzb24gKCkjbGluZTo0OQogICAgICAgIGlmIE9PT08wT08wMDBPT09PTzAwIFsnY29kZSddPT0yMDAgOiNsaW5lOjUwCiAgICAgICAgICAgIE9PMDAwT09PMDBPTzBPME8wID1PT09PME9PMDAwT09PT08wMCBbJ2RhdGEnXVsncHJpemUnXSNsaW5lOjUxCiAgICAgICAgICAgIHByaW50IChmJ+aKveS4rXtPTzAwME9PTzAwT08wTzBPMH0nKSNsaW5lOjUyCiAgICAgICAgZWxzZSA6I2xpbmU6NTMKICAgICAgICAgICAgcHJpbnQgKE9PT08wT08wMDBPT09PTzAwIFsnbXNnJ10pI2xpbmU6NTQKICAgICAgICBPT09PME9PMDAwT09PT08wMCA9cmVxdWVzdHMgLnBvc3QgKCJodHRwczovL3N0b3JlLmFzdXMuY29tLmNuL3N0b3JlYXBpL3VzZXIvbXkvaW5kZXgiLGRhdGEgPU9PTzAwMDAwME8wMDAwTzBPICxoZWFkZXJzID1PTzBPME9PME9PME9PT09PTyApLmpzb24gKCkjbGluZTo1NQogICAgICAgIE8wMDAwTzBPTzAwME8wMDBPID1PT09PME9PMDAwT09PT08wMCBbJ2RhdGEnXVsndXNlciddWydtb2JpbGUnXSNsaW5lOjU2CiAgICAgICAgTzAwT08wMDBPTzAwTzAwTzAgPU9PT08wT08wMDBPT09PTzAwIFsnZGF0YSddWyd1c2VyJ11bJ3RvdGFsX3BvaW50cyddI2xpbmU6NTcKICAgICAgICBwcmludCAoZifor6XnlKjmiLfvvJp7TzAwMDBPME9PMDAwTzAwME99IFxu5oul5pyJ56ev5YiG77yae08wME9PMDAwT08wME8wME8wfScpI2xpbmU6NTgKICAgIGVsc2UgOiNsaW5lOjU5CiAgICAgICAgcHJpbnQgKGYnQXV0aGVudGljYXRl5byC5bi4LOWksei0peWOn+WboO+8mkF1dGhlbnRpY2F0Zei/h+acn++8jOivt+mHjeaWsOaKk++8gScpI2xpbmU6NjAKICAgICAgICBub3RpZnkgLnNlbmQgKE8wME9PTzBPMDBPT09PME9PICwiQXV0aGVudGljYXRl5byC5bi4LOWksei0peWOn+WboO+8mkF1dGhlbnRpY2F0Zei/h+acn++8jOivt+mHjeaWsOaKk++8gSIpI2xpbmU6NjEKaWYgX19uYW1lX18gPT0iX19tYWluX18iOiNsaW5lOjYyCiAgICBPT08wMDAwME9PMDAwT08wMCA9b3MgLmVudmlyb24gLmdldCAoJ2hzc2MnKSNsaW5lOjYzCiAgICBpZiBub3QgT09PMDAwMDBPTzAwME9PMDAgOiNsaW5lOjY0CiAgICAgICAgcHJpbnQgKCJcbj09PT09PT09PT09IOacquWhq+WGmeWNjuehleWVhuWfjueOr+Wig+WPmOmHj++8mmhzc2MgPT09PT09PT09PT0iKSNsaW5lOjY1CiAgICBlbHNlIDojbGluZTo2NgogICAgICAgIE9PME9PT08wMDAwMDAwT09PID1PT08wMDAwME9PMDAwT08wMCAuc3BsaXQgKCdcbicpI2xpbmU6NjcKICAgICAgICBmb3IgTzAwMDAwTzBPME8wME9PMDAgLE9PTzAwT08wME8wME8wT09PIGluIGVudW1lcmF0ZSAoT08wT09PTzAwMDAwMDBPT08gLHN0YXJ0ID0xICk6I2xpbmU6NjgKICAgICAgICAgICAgT08wTzBPT08wTzAwMDBPTzAgPU9PTzAwT08wME8wME8wT09PIC5zcGxpdCAoJyQkJCQkJykjbGluZTo2OQogICAgICAgICAgICBPMDAwT09PT08wME8wTzBPTyA9T08wTzBPT08wTzAwMDBPTzAgWzAgXS5zdHJpcCAoKSNsaW5lOjcwCiAgICAgICAgICAgIE9PME9PME9PT08wME9PME8wID1PTzBPME9PTzBPMDAwME9PMCBbMSBdLnN0cmlwICgpaWYgbGVuIChPTzBPME9PTzBPMDAwME9PMCApPjEgZWxzZSBmIuWNjuehleWVhuWfju+8mui0puWPt3tPMDAwMDBPME8wTzAwT08wMH0iI2xpbmU6NzEKICAgICAgICAgICAgcHJpbnQgKGYiPT09PT09PT09PT0g5byA5aeL5omn6KGM56ysIHtPMDAwMDBPME8wTzAwT08wMH0g5Liq6LSm5Y+35Lu75YqhID09PT09PT09PT09IikjbGluZTo3MgogICAgICAgICAgICBPT08wMDAwME8wT08wT08wMCAoTzAwME9PT09PMDBPME8wT08gLE9PME9PME9PT08wME9PME8wICkjbGluZTo3Mwo='))

